<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:t="http://myfaces.apache.org/tomahawk">

<div align="center">
<ui:composition
	template="../../templates/template.xhtml">

	<ui:define name="title">
	 	General Case Details Page
	</ui:define>
	<ui:param name="page" value="home" />
	<ui:define name="header">
		<ui:include src="../../header.xhtml" />
	</ui:define>

	<ui:define name="menu">
		<h:form id="menu">

			<div align="center"><br />
			<br />
			<h:commandButton value="Back" action="#{adminCaseDetailsPage.back}"
				styleClass="buttonClass" /></div><br />
			<br />			
		

		</h:form>
	</ui:define>
	<ui:define name="body">
		<h:form>		 
			<div class="allPeopleHolder">
			<h:panelGrid columns="2">
				<h:outputLabel value="Filer Name:" styleClass="header" />
				<h:outputLabel
					value="#{adminCaseDetailsPage.filerName}" />
				<h:outputLabel value="DIVISION:" />
				<h:outputLabel value="Superior Court: Civil Division" />
			</h:panelGrid> 
			<h:panelGrid columns="2" styleClass="tablehead">
				<h:outputLabel value="Case Category:" />
				<h:outputLabel value="Dom Rel: Child Supp./URESA/UIFSA" />
				<h:outputLabel value="Case Filing Type:" />
				<h:outputLabel value="Superior Domestic Case" />
				<h:outputLabel value="Case Type: " />
				<h:outputLabel value="Complaint/Petition" />
				<h:outputLabel value="Case Caption: " />
				<h:outputLabel value="#{adminCaseDetailsPage.caseCaption}" />
				<h:outputLabel value="uuid:" />
				<h:outputLabel value="#{adminCaseDetailsPage.uuid}"/>				
				<h:outputText value="OCSS Case Number: " />
				<h:outputText value="#{adminCaseDetailsPage.OCSSCaseNumber}" />
				<h:outputText value="Court Case Number: " />
				<h:outputText value="#{adminCaseDetailsPage.courtCaseNumber}" />
				<h:outputLabel value="Case Status:"/>				
				<h:outputText value="#{adminCaseDetailsPage.status}"/>
				<h:outputLabel value="Document Title:"/>
				<h:outputText value="#{adminCaseDetailsPage.docTitle}"/>
				
				<h:outputText value="Court Date: " />
				<h:outputText value="#{adminCaseDetailsPage.courtDate}">
					<f:convertDateTime 
						dateStyle="long" 
						timeZone="America/New_York" 
						type="date"/> 
				</h:outputText>
				<h:outputText value="Jurisdiction: " />
				<h:outputText value="#{adminCaseDetailsPage.jurisdiction}" />
				
				
			</h:panelGrid>			
			</div>
			<h:panelGrid styleClass="tablehead">
				<div align="center"><br />
				<h:column> Select a new status for the document </h:column> 
				<h:outputText value="#{adminCaseDetailsPage.docTitle}" /> <br />
				<h:selectOneListbox id="documentStatus" required="true"
					immediate="true" size="6"
					binding="#{adminCaseDetailsPage.documentStatusDescriptionUI}" /> 
				<h:commandButton id="changeDocumentStatus"
					value="Change Document Status"
					action="#{adminCaseDetailsPage.updateDocumentStatus}" /> <h:column>
					<h:message for="documentStatus" styleClass="error" />
				</h:column> <br />
				</div>
			</h:panelGrid>
		</h:form>
	</ui:define>
	
</ui:composition>
</div>
</html>
